#ifndef SHAPEMODEL_H
#define SHAPEMODEL_H

#include <QAbstractListModel>
#include <QList>
#include <QPixmap>
#include <QPoint>
#include <QStringList>

class ShapeModel: public QAbstractListModel
{
	Q_OBJECT

public:
	ShapeModel(QObject *parent = 0);
	~ShapeModel();

	void AddShape(const QPixmap &pixmap);

protected:
	QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
	int rowCount(const QModelIndex &parent) const;
	Qt::ItemFlags flags(const QModelIndex &index) const;

private:

	QList<QPixmap> pixmaps;
	
};

#endif // SHAPEMODEL_H
